package bean;

/**
 * @author ：hongwuyang
 * @date ：2022/8/3 16:51
 * @description：
 */
public class Computer {
    private String cpu;
    private String Mainboard;


    public Computer(String cpu, String mainboard) {
        this.cpu = cpu;
        Mainboard = mainboard;
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public String getMainboard() {
        return Mainboard;
    }

    public void setMainboard(String mainboard) {
        Mainboard = mainboard;
    }

    @Override
    public String toString() {
        return "Computer{" +
                "cpu='" + cpu + '\'' +
                ", Mainboard='" + Mainboard + '\'' +
                '}';
    }
}
